<!DOCTYPE html>
<html>
    <head>
        <title>吊装筛选</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="Content-Language" content="zh-CN" />
        <meta http-equiv="Content-Script-Type" content="text/javascript" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
        <meta name="format-detection" content="telephone=no"/>
		<link rel="stylesheet" href="css/bootstrap.min.css">
		<link rel="stylesheet" type="text/css" href="css/index.css"/>
		<script src="js/jquery.min.js"></script>
		<script src="js/bootstrap.min.js"></script>	
    </head>
	<style>
		.title_top{text-align: center;}
		.rq{padding: 0;}
		.rq a{color: #FFF;}
	</style>
	<body class="body_1">
		
		<!--头部-->
		<div class="col-xs-12 title_top">
			<div class="col-xs-3 rq back">
				<a href="javascript:history.back(-1)">
					<div style="float: left;"><img src="images/icon_left.png"/></div>
					<div style="float: left;margin-top: 2px;">返回</div>
				</a>
			</div>
			<div class="col-xs-6">吊装筛选</div>
			<div class="col-xs-3"></div>
		</div>
		<!--头部-->
		
		<div class="col-xs-12 snap" style="margin-top: 60px;" >
			<div class="col-xs-12 p_1">时间</div>
			<div class="col-xs-3">
				<div class="time reset_seset reset" data-value="3" data-select="false">
					最近三天
				</div>
			</div>	
			<div class="col-xs-3">
				<div class="time reset_seset reset" data-value="7" data-select="false">
					最近七天
				</div>
			</div>	
			<div class="col-xs-3">
				<div class="time reset_seset reset" data-value="month" data-select="false">
					本月
				</div>
			</div>
			<div class="col-xs-12 snap_bottom">
				<div class="col-xs-6 left">
					<a class="reset" onclick="resets()">重置</a>
				</div>
				<div class="col-xs-6 rights">
					<a class="selects">查询</a>
				</div>
			</div>
			
		</div>
	</body>
</html>
<script src="js/mui.min.js"></script>
<script src="js/project.config.js"></script>
<script> 
	$(".time").on('click',function(){
		$(".time").data('select',false);
		$(this).data('select',true);
		$(".time").removeClass('active');
		$(this).addClass('active');
	});
	function resets(){
		$('.reset_seset').each(function(i){
			$(this).removeClass('active');
			$(this).data('select',false);
		});
	}
	mui.plusReady(function(){
		mui(".snap_bottom").on("tap",".selects",function(){
			var params = get_ws();
			var data = {};
			data.towerID = params.towerID;
			$("div .time").each(function(i,v){
				if($(this).data('select') == true){
					data.time = $(this).data('value');
				}
			});
			redirect('t_log.html',data);
		});
		mui(".title_top").on("tap",".back",function(){
			mui.back();
		});
	});
</script> 
		 